package fr.neyb.wesb.core.data.io;

import java.io.IOException;
import java.io.Reader;
import java.io.Writer;

import fr.neyb.wesb.core.data.content.Record;
import fr.neyb.wesb.core.data.descriptors.record.RecordDescriptor;

/**
 * the format used by the IO (that use a text format)
 * @author adeconin
 *
 */
public interface IOTextFormat {
	
	RecordDescriptor getDescriptor();

	Record read(Reader r) throws IOException;

	void Write(Writer w, Record record) throws IOException;

}
